package com.wangce.entity;

/**
 * ClassName: Status
 * Description:
 * date: 2021/11/12 19:54
 *
 * @author 凡人
 * @since JDK 1.8
 */
public enum Status {
    P(0,"待支付"),D(1,"配送中"),A(2,"完成");
    private Integer val;
    private String text;

    public Integer getVal() {
        return val;
    }

    public void setVal(Integer val) {
        this.val = val;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    Status() {
    }

    Status(Integer val, String text) {
        this.val = val;
        this.text = text;
    }
}
